<template>
    <div id="search" :class="{ss:isfixed}">
        <div id="search_a">
            <span class="iconfont">&#xe631;</span>
            <span>搜索饿了么商家、商品名称</span>
            </div>
        </div>    
</template>
<script>
export default {
    props:{
        'isfixed':Boolean
    }
}
</script>
<style lang="stylus" scoped>
@import '~styles/varibles.styl';
    #search
        background-color $bgColor
        padding 3vw 3.7vw  
        text-align center
        box-sizing border-box
        #search_a
            height 9.6vw
            line-height 9.6vw
            text-align center
            background-color #fff
            font-size .37rem
            color #999  
    .ss
        position fixed
        top 0
        z-index 999
        width 100%
</style>
